package com.zhourh.bang.common.persistence.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhourh
 * @since 2018-09-02
 */
@TableName("s_score")
public class SScore extends Model<SScore> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	private Integer stuId;
	private String stuNo;
	private String stuName;
	private Integer subjectId;
	private String subjectName;
    /**
     * 学期
     */
	private Integer subjectTerm;
    /**
     * 分数
     */
	private Double score;
	private String remark;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getStuId() {
		return stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public String getStuNo() {
		return stuNo;
	}

	public void setStuNo(String stuNo) {
		this.stuNo = stuNo;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public Integer getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}

	public String getSubjectName() {
		return subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public Integer getSubjectTerm() {
		return subjectTerm;
	}

	public void setSubjectTerm(Integer subjectTerm) {
		this.subjectTerm = subjectTerm;
	}

	public Double getScore() {
		return score;
	}

	public void setScore(Double score) {
		this.score = score;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "SScore{" +
			"id=" + id +
			", stuId=" + stuId +
			", stuNo=" + stuNo +
			", stuName=" + stuName +
			", subjectId=" + subjectId +
			", subjectName=" + subjectName +
			", subjectTerm=" + subjectTerm +
			", score=" + score +
			", remark=" + remark +
			"}";
	}
}
